package com.barbeque.mall.bean.wx.cart;

import com.barbeque.mall.bean.user.MarketAddress;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ycc
 * @date 2022/07/19 21:03:44
 */
@Data
@NoArgsConstructor
public class CheckoutOfCartVo {

    /**
     * grouponRulesId : 0
     * actualPrice : 1000.0
     * orderTotalPrice : 1000.0
     * cartId : 0  忽略，没用
     * userCouponId : -1
     * couponId : -1
     * goodsTotalPrice : 1000.0
     * addressId : 16
     * grouponPrice : 0
     * checkedAddress : {"id":16,"name":"测试2","userId":1,"province":"河北省","city":"石家庄市","county":"长安区","addressDetail":"唐山街道","areaCode":"130102","tel":"11111111111","isDefault":false,"addTime":"2022-07-18 22:24:14","updateTime":"2022-07-19 19:38:41","deleted":false}
     * couponPrice : 0
     * availableCouponLength : 6
     * freightPrice : 0
     * checkedGoodsList : [{"id":313,"userId":1,"goodsId":1181033,"goodsSn":"3213","goodsName":"123123","productId":277,"price":1000,"number":1,"specifications":["asda"],"checked":true,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/2dbfw4z29gxzqtj86yjx.jpeg","addTime":"2022-07-19 20:37:53","updateTime":"2022-07-19 20:56:31","deleted":false}]
     */

    private Integer grouponRulesId;
    private BigDecimal actualPrice;
    private BigDecimal orderTotalPrice;
    private Integer cartId;
    private Integer userCouponId;
    private Integer couponId;
    private BigDecimal goodsTotalPrice;
    private Integer addressId;
    private Integer grouponPrice;
    private MarketAddress checkedAddress;
    private BigDecimal couponPrice;
    private Integer availableCouponLength;
    private BigDecimal freightPrice;
    private List<MarketCart> checkedGoodsList;
}
